Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: mobile snapshots for page stories #436

Merged
merged 11 commits into from
Dec 10, 2024

Conversation

codeincontext
Copy link
Collaborator

@codeincontext codeincontext commented Dec 9, 2024

Based on #427

Description

This PR adds the mobile "mode" to the stories for full pages

We will do a separate investigation of any specific component stories which would benefit from a mobile snapshot

  • Add CHROMATIC_ALL_VIEWPORTS_COMPAT modes to all snapshots for pages

How to test

Look at the chromatic page for this PR. There should be new mobile snapshots for each page, and they should look correct

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oak-ai-lesson-assistant ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 10:05am

Copy link

github-actions bot commented Dec 9, 2024

Playwright test results

passed  15 passed
skipped  1 skipped

Details

report  Open report ↗︎
stats  16 tests across 15 suites
duration  2 minutes, 15 seconds
commit  4859f67

Skipped tests

No persona › tests/auth.test.ts › authenticate through Clerk UI

@codeincontext codeincontext changed the title Test/chromatic mobile modes test: chromatic mobile modes Dec 9, 2024
@codeincontext codeincontext changed the title test: chromatic mobile modes test: mobile snapshots for page stories Dec 9, 2024
@codeincontext codeincontext changed the base branch from main to test/chromatic-responsive December 9, 2024 14:30
@codeincontext codeincontext marked this pull request as ready for review December 9, 2024 14:31
@codeincontext codeincontext requested review from a team and mikeritson-oak December 9, 2024 14:31
@codeincontext codeincontext marked this pull request as draft December 9, 2024 23:01
@codeincontext codeincontext force-pushed the test/chromatic-mobile-modes branch from d6a4538 to 2c0d3f4 Compare December 9, 2024 23:18
@codeincontext codeincontext marked this pull request as ready for review December 9, 2024 23:18
Base automatically changed from test/chromatic-responsive to main December 10, 2024 10:01
@codeincontext codeincontext merged commit 1200b1f into main Dec 10, 2024
20 checks passed
@codeincontext codeincontext deleted the test/chromatic-mobile-modes branch December 10, 2024 11:05
@oak-machine-user
Copy link
Collaborator

🎉 This PR is included in version 1.18.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants